package com.xoms.admin.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;

/**
 * 新建、编辑商品分类
 **/
public class EditProCategoryParam {
	private String cid; // 分类id
	@NotEmpty(message = "父级id不能为空")
	private String parentId; // 父级id
	@NotEmpty(message = "分类名称不能为空")
	private String name; // 分类名称

	public void setCid(String cid) {
 		this.cid = cid;
	}

	public String getCid() {
 		return cid;
	}

	public void setParentId(String parentId) {
 		this.parentId = parentId;
	}

	public String getParentId() {
 		return parentId;
	}

	public void setName(String name) {
 		this.name = name;
	}

	public String getName() {
 		return name;
	}

}
